<!DOCTYPE html>
<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
  <meta name="description" content="">
  <meta name="author" content="">
  <link rel="icon" href="static/img/favicon.ico">


  <title>Theme Template for Bootstrap</title>

  <!-- Bootstrap core CSS -->
  <link href="static/css/dist/css/bootstrap.min.css?v=1" rel="stylesheet">
  <!-- Bootstrap theme -->
  <link href="static/css/dist/css/bootstrap-theme.min.css" rel="stylesheet">
  <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
  <link href="static/css/assets/css/ie10-viewport-bug-workaround.css" rel="stylesheet">

  <!-- Custom styles for this template -->
  <link href="static/css/theme.css" rel="stylesheet">

  <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
  <!--[if lt IE 9]><script src="static/css/assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
  <script src="static/css/assets/js/ie-emulation-modes-warning.js"></script>

  <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  <!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  <![endif]-->
</head>

<body role="document">

<!-- Fixed navbar -->
<nav class="navbar navbar-inverse navbar-fixed-top">
  <div class="container">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand">易PUSH</a>
    </div>
    <div id="navbar" class="navbar-collapse collapse">
      <ul class="nav navbar-nav">
        <c:forEach items="${fristMenuMap}" var="map">
          <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span style="font-family:微软雅黑; ">${map.key.menuName}</span>  <span class="caret"></span></a>
            <ul class="dropdown-menu">

              <c:forEach items="${map.value}" var="list">

                <li><a href="#"><a href="${list.url}"><span style="font-family:微软雅黑; ">${list.menuName}</span></a> </a></li>

              </c:forEach>

            </ul>
          </li>
        </c:forEach>
        <!--
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span style="font-family:微软雅黑; ">数据配置</span>  <span class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="#"><a href="http://localhost:8888/taskIntoPage"><span style="font-family:微软雅黑; ">任务配置</span></a></a></li>
            <li><a href="#"><a href="http://localhost:8888/ruleIntoPage"><span style="font-family:微软雅黑; ">规则配置</span></a> </a></li>
            <li><a href="#"><a href="http://localhost:8888/emailIntoPage"><span style="font-family:微软雅黑; ">邮件配置</span></a> </a></li>
          </ul>
        </li>
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span style="font-family:微软雅黑; ">权限管理</span>  <span class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="http://localhost:8888/menuIntoPage"><span style="font-family:微软雅黑; ">菜单管理</span></a></li>
            <li><a href="http://localhost:8888/userIntoPage"><span style="font-family:微软雅黑; ">人员配置</span></a></li>
          </ul>
        </li>
        <li><a href="#contact"><span style="font-family:微软雅黑; ">日志管理</span></a></li>
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span style="font-family:微软雅黑; ">${userInfo.userRealname}</span>  <span class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="http://localhost:8888/logout"><span style="font-family:微软雅黑; ">注销</span></a></li>
            <li><a href="http://localhost:8888/updatePasswordPage"><span style="font-family:微软雅黑; ">修改密码</span></a></li>
          </ul>
        </li>
        -->
          <li class="dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span style="font-family:微软雅黑; ">${userInfo.userRealname}</span>  <span class="caret"></span></a>
              <ul class="dropdown-menu">
                  <li><a href="logout"><span style="font-family:微软雅黑; ">注销</span></a></li>
                  <li><a href="updatePasswordPage"><span style="font-family:微软雅黑; ">修改密码</span></a></li>
              </ul>
          </li>
      </ul>
    </div><!--/.nav-collapse -->
  </div>
</nav>




<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->

<script src="static/js/jquery.min.js"></script>
<script src="static/css/dist/js/bootstrap.min.js"></script>
<script src="static/css/assets/js/docs.min.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="static/css/assets/js/ie10-viewport-bug-workaround.js"></script>
<!--
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
-->
</body>
</html>
